﻿using SCM.Common;
using SqlSugar;
using System;

namespace SCM.Model.DBEntity
{
    /// <summary>
    /// 产品物料清单表
    /// </summary>
    [SugarTable("T_Material_ProductBom")]
    public class T_Material_ProductBom :EntityBase
    {
        /// <summary>
        /// 产品物料清单ID
        /// </summary>
        public string ID { get; set; }

        /// <summary>
        /// 所属企业ID
        /// </summary>
        public string CompanyID { get; set; }

        /// <summary>
        /// 产品ID
        /// </summary>
        public string MaterialProductID { get; set; }

        /// <summary>
        /// 组件ID
        /// </summary>
        public string MaterialSubProductID { get; set; }

        /// <summary>
        /// 零件ID
        /// </summary>
        public string MaterialPartsID { get; set; }

        /// <summary>
        /// 零件数量
        /// </summary>
        public decimal Qty { get; set; }
    }
}